<?php
include "conn.php";
$sql="upadate user_info set name='王五' where id=2";
$resu=mysqli_query($link,$sql);
if($resu){
    echo "数据修改成功";
}else{
    echo "数据修改失败，失败原因：".mysqli_error($link);
}